package org.example.cet.demos.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hq
 * @since 2024-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("homework")
public class Homework implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    private String classId;
    /**
     * 作业标题
     */
    private String title;

    /**
     * 题目id
     */
    private String questionId;

    /**
     *0:作业 1:试卷 2:专项
     */
    private Integer type;

    /**
     * 截止时间
     */
    private LocalDateTime dueDate;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
